package com.nineclock.api.sign;

import com.nineclock.attendance.dto.AttendPunchDTO;
import com.nineclock.common.entity.Result;
import com.nineclock.sign.dto.SignAllUserDTO;
import com.nineclock.sign.dto.SignDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "签到服务", tags = "签到管理")
public interface SignDefinitionControllerApi {

    @ApiOperation(value = "签到: 移动端签到")
    public Result punch(SignDTO signDTO);

    @ApiOperation(value = "查询团队员工打卡列表")
    public Result<List<SignAllUserDTO>> queryMembers(String dateStr);


    @ApiOperation(value = "签到:获取当前员工当日的签到次数 ")
    public Result<Integer> getDayCount();

    @ApiOperation(value = "查询本月签到记录")
    public Result<List<SignDTO>> pagingSignCurrentUserByMonth(String dateStr);
}

